package com.samphanie.mbg.model.sys;

import com.baomidou.mybatisplus.annotation.TableName;
import com.samphanie.mbg.model.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.SuperBuilder;


/**
 * 字典数据对象 sys_dict_item
 *
 * @author zsy
 * @date 2021-10-20
 */
@Data
@With
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@TableName("sys_dict_item")
@EqualsAndHashCode(callSuper = true)
public class SysDictItem extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "字典项名称")
    private String name;

    @ApiModelProperty(value = "字典项值")
    private String value;

    @ApiModelProperty(value = "字典编码")
    private String dictCode;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "状态【0-停用 1-正常】")
    private Integer showStatus;

    @ApiModelProperty(value = "是否默认【0-否 1-是】")
    private Integer defaulted;

}
